# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=Flask-RESTful
PKG_VERSION:=0.3.9
PKG_RELEASE:=1

PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=ccec650b835d48192138c85329ae03735e6ced58e9b2d9c2146d6c84c06fa53e

PKG_MAINTAINER:=[CTCGFW] Project OpenWrt
PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk

define Package/python3-flask-restful
  SECTION:=lang
  CATEGORY:=Languages
  SUBMENU:=Python
  TITLE:=Simple framework for creating REST APIs
  URL:=https://github.com/flask-restful/flask-restful
  DEPENDS:=+python3-light +python3-flask
endef

define Package/python3-flask-restful/description
  Flask-RESTful provides the building blocks for creating a great REST API.
endef

$(eval $(call Py3Package,python3-flask-restful))
$(eval $(call BuildPackage,python3-flask-restful))
$(eval $(call BuildPackage,python3-flask-restful-src))
